<% 
var ctr = 0;
var start = 0;
var ending = recordCount;
	for(var pageNo = start; pageNo < ending; pageNo+=recordsPerPage) { 
%>
		<a href="../<%- controller %>/?pageNo=<%- ctr %>&<%- searchUrlParams %>">
		<% if((ctr) == currentPage){ %>
			<b><%- ctr + 1 %></b>
		<% }else{ %>
			<%- ctr + 1 %>
		<% } %>
		</a>
<%
	ctr++;
	} 
%>